<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"  name="viewport" content="width=device-width">
    <title>小说列表</title>
</head>
<body style="background-color:rgb(199,237,204)">

<table border="1"  align="center" cellpadding="0" cellspacing="0">
    <tr>
        <th>ID</th>
        <th>Name</th>
        <th>pid</th>
        <th>操作</th>
    </tr>
    <tr th:each="e : ${list}">
        <td th:text="${e.getId()}"></td>
        <td th:text="${e.getName()}"></td>
        <td th:text="${e.getPid()}"></td>
        <td>
            &nbsp;<a th:href="@{/admin/findByPage(pid=${e.getPid()})}">查看章节列表</a>
        </td>
    </tr>
</table>
</body>
</html>